package com.sxhalo.fsms.service;

import com.sxhalo.fsms.domain.DeviceSmartRunningData;
import com.sxhalo.fsms.domain.MotorRunningData;
import com.sxhalo.fsms.domain.RedisData;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface IDeviceSmartRunningDataService extends IBaseService<DeviceSmartRunningData> {
    List<DeviceSmartRunningData> findPhaseHis(String   where);
    Integer foreachInsert(List<RedisData> list);

    List<HashMap> findAttrHis(String  attr, String   where);



    //报警趋势数据
    List<Map<String,Object>> energyTrendStatistics(String where,Integer type);
    //环比
    Map<String,Object> getEnergyNumStatistics(String where);
    //曲线图标
    List<Map<String,Object>> getEnergyPhaseHis(String where);


    List<Map<String,Object>> getBeforReportCount(String where);
    //能耗报表
    List<Map<String,Object>>  getEnergyReport(String where,String where1,String where2,String type);
}
